#include "Fruit.h"
#include "BuahCabai.h"
#include "BuahJamur.h"
#include "BuahWortel.h"
#include "BuahMelon.h"
#include "BuahJagung.h"
#include "BuahPisang.h"
#include "BuahMangga.h"
#include <iostream>

using namespace std;

int main(){
	
	BuahCabai c;
	BuahJamur j;
	BuahWortel w;
	BuahMelon m;
	BuahJagung jg;
	BuahPisang p;
	BuahMangga mg;
	
	cout << "Buah Cabai" << endl;
	cout << "Fruit ID = " << (c.GetFruit_id()) << endl << "Harga = " << (c.GetHarga())<< endl << endl;
	
	cout << "Buah Wortel" << endl;
	cout << "Fruit ID = " << (w.GetFruit_id()) << endl << "Harga = " << (w.GetHarga())<< endl << endl;
	
	cout << "Buah Jamur" << endl;
	cout << "Fruit ID = " << (j.GetFruit_id()) << endl << "Harga = " << (j.GetHarga()) << endl << endl;
	
	cout << "Buah Melon" << endl;
	cout << "Fruit ID = " << (m.GetFruit_id()) << endl << "Harga = " << (m.GetHarga())<< endl << endl;
	
	cout << "Buah Jagung" << endl;
	cout << "Fruit ID = " << (jg.GetFruit_id()) << endl << "Harga = " << (jg.GetHarga())<< endl << endl;
	
	cout << "Buah Pisang" << endl;
	cout << "Fruit ID = " << (p.GetFruit_id()) << endl << "Harga = " << (p.GetHarga())<< endl << endl;
	
	cout << "Buah Mangga" << endl;
	cout << "Fruit ID = " << (mg.GetFruit_id()) << endl << "Harga = " << (mg.GetHarga())<< endl << endl;
	
	return 0;
}
